//Đây là form cha của tất cả các form trong chương trình
//Mọi form đều được thừa kế từ form này
//Ý tưởng để tạo một chuẩn giao diện thống nhất
using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;

namespace QLNHK
{
    /// <summary>
    /// Summary description for FrmBase.
    /// </summary>
    public class FrmBase : System.Windows.Forms.Form
    {
        public ImageList imgList;
        private System.ComponentModel.IContainer components;

        /// <summary>
        /// 
        /// </summary>
        public FrmBase()
        {
            InitializeComponent();
        }

        /// <summary>
        /// Clean up any resources being used.
        /// </summary>
        protected override void Dispose(bool disposing)
        {
            if (disposing)
            {
                if (components != null)
                {
                    components.Dispose();
                }
            }
            base.Dispose(disposing);
        }

        protected void Log(string title, Exception ex)
        {
            Logger.LocalLogger.Instance().WriteMessage(title, ex);
        }

        protected void Log(Exception ex)
        {
            Logger.LocalLogger.Instance().WriteMessage(ex);
        }

        #region Windows Form Designer generated code
        /// <summary>
        /// Required method for Designer support - do not modify
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            this.components = new System.ComponentModel.Container();
            System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FrmBase));
            this.imgList = new System.Windows.Forms.ImageList(this.components);
            this.SuspendLayout();
            // 
            // imgList
            // 
            this.imgList.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imgList.ImageStream")));
            this.imgList.TransparentColor = System.Drawing.Color.Transparent;
            this.imgList.Images.SetKeyName(0, "add.png");
            this.imgList.Images.SetKeyName(1, "");
            this.imgList.Images.SetKeyName(2, "Delete_16x16.png");
            this.imgList.Images.SetKeyName(3, "save.png");
            this.imgList.Images.SetKeyName(4, "");
            this.imgList.Images.SetKeyName(5, "");
            this.imgList.Images.SetKeyName(6, "");
            this.imgList.Images.SetKeyName(7, "Zoom_16x16.png");
            this.imgList.Images.SetKeyName(8, "");
            this.imgList.Images.SetKeyName(9, "");
            this.imgList.Images.SetKeyName(10, "");
            this.imgList.Images.SetKeyName(11, "");
            this.imgList.Images.SetKeyName(12, "");
            this.imgList.Images.SetKeyName(13, "Copy_16x16.png");
            this.imgList.Images.SetKeyName(14, "");
            this.imgList.Images.SetKeyName(15, "");
            this.imgList.Images.SetKeyName(16, "");
            this.imgList.Images.SetKeyName(17, "");
            this.imgList.Images.SetKeyName(18, "");
            this.imgList.Images.SetKeyName(19, "");
            this.imgList.Images.SetKeyName(20, "");
            this.imgList.Images.SetKeyName(21, "");
            this.imgList.Images.SetKeyName(22, "");
            this.imgList.Images.SetKeyName(23, "Home_16x16.png");
            this.imgList.Images.SetKeyName(24, "Customer_16x16.png");
            this.imgList.Images.SetKeyName(25, "page_white_word.png");
            this.imgList.Images.SetKeyName(26, "excel.png");
            this.imgList.Images.SetKeyName(27, "lock.ico");
            this.imgList.Images.SetKeyName(28, "enable_server.ico");
            // 
            // FrmBase
            // 
            this.AutoScaleBaseSize = new System.Drawing.Size(5, 14);
            this.ClientSize = new System.Drawing.Size(624, 342);
            this.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            this.Name = "FrmBase";
            this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
            this.Text = "FrmBase";
            this.ResumeLayout(false);

        }
        #endregion
    }
}
